﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ManageProductVersion.aspx.cs" Inherits="WXYW.ManageProductVersion" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    管理产品版本
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table>
        <tr>
            <td>
                <asp:GridView ID="productVersionGridView" runat="server" CssClass="tableList" AutoGenerateColumns="false"
                    AllowPaging="true" PageSize="20" OnPageIndexChanging="productVersionGridView_PageIndexChanging"
                    OnRowDataBound="productVersionGridView_RowDataBound">
                    <Columns>
                        <asp:TemplateField HeaderImageUrl="~/image/operateicon/button_Select.gif">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="IDLbl" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="版本号" DataField="Name" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <img src="image/operateicon/docedit.gif" />
                                <asp:LinkButton ID="editLinkButton" runat="server" OnClick="editLinkButton_Click"
                                    CommandArgument='<%#Eval("ID") %>'>编辑</asp:LinkButton>
                                <img src="image/operateicon/docdelete.gif" />
                                <asp:LinkButton ID="deleteLinkButton" runat="server" OnClientClick="confirm('您确定要删除这个版本号吗');"
                                    OnClick="deleteLinkButton_Click" CommandArgument='<%#Eval("ID") %>'>删除</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
            <td valign="top">
                <table>
                    <tr>
                        <td>
                            操作区
                        </td>
                    </tr>
                    <tr>
                        <td>
                            请输入版本号：
                            <asp:TextBox ID="versionTextBox" runat="server"></asp:TextBox>
                            <asp:Button ID="operateButton" runat="server" OnClick="operateButton_Click" Text="添加" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
